package org.codeart.observer.hosue2;

import org.codeart.observer.dto.LotteryResult;

/**
 * MQ消息发送事件监听
 */
public class MqEventListener implements EventListener {

    @Override
    public void process(LotteryResult result) {
        System.out.printf("记录用户的摇号结果到 MQ，用户 ID: %s，摇号结果为: %s", result.getUid(), result.getMsg());
    }
    
}
